<include file="public/layout" />
<body>
  <div class="layui-fluid">
    <div class="layui-row layui-col-space15">
			<div class="layui-card layui-col-md12">
				<div class="layui-card-header"><i class="fa fa-edit"></i> 查看申请详情<i class="layui-icon layui-icon-close" style="font-size:18px;font-weight:bold;cursor:pointer" onclick="closeself()"></i></div>
        <div class="layui-card-body" pad15>
					<div class="layui-form" lay-filter="form">
						<input type="hidden" name="info[id]" value="{$info.id}"/>
						<div class="layui-tab layui-tab-brief" lay-filter="mytab">
							<ul class="layui-tab-title">
								<li class="layui-this" lay-id="1">基本信息</li>
							</ul>
							<div class="layui-tab-content">
						<!--基本信息start-->
							<div class="layui-form-item">
								<label class="layui-form-label">会员</label>
								<div class="layui-input-inline">
									{$info.mid}({$info.nickname})
								</div>
							</div>
							<div class="layui-form-item">
								<label class="layui-form-label">创作文本</label>
								<div class="layui-text">
									{$info.ai_text}
								</div>
							</div>

							<div class="layui-form-item">
								<label class="layui-form-label">创作风格</label>
								<div class="layui-input-inline">
									{$info.ai_style}
								</div>
							</div>

							<div class="layui-form-item">
								<label class="layui-form-label">图片</label>
								<div class="">
									<img class="img_sp" src="{$info.pic}" style="max-width: 200px;max-height: 300px;" />
								</div>
							</div>


  					</div>
						</div>

					</div>
			   </div>
			</div>
		</div>
	</div>
</div>
</div>
	<script>
		$(document).on('click', '.img_sp', function(data){
			var imgSrc=$(this).attr('src');
			layer.open({
				type:1
				,title:false
				,closeBtn:0
				,skin:'layui-layer-nobg'
				,shadeClose:true
				,content:'<img style="width:100%;height:100%;" class="layui-upload-img" src="'+ imgSrc +'"/>'
				,scrollbar:false
			})
		});
  </script>
</body>
</html>